package com.zk.dao;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zk.entity.Org;
import com.zk.entity.Organization;

public interface OrganizationMapper {

	public void addOrganization(Organization organization);
	
	
	public List<Organization> getOrganization(@Param("starttime")String starttime, @Param("endtime")String endtime,@Param("deptid")List<String> deptid);
	
	public Organization getOrganization(String date);
	
	/**
	 * update organization
	 * @param org
	 */
	public void updateOrganization(Organization organization);
	/**
	 * delete organization
	 * @param org
	 */
	public void deleteOrganization(Organization organization);
	/**
	 * delete organization logic
	 * @param org
	 */
	public void deleteOrganizationLogic(Organization organization);


	public Organization getOrganizationById(@Param("orgid")String orgid);
	
}
